<template>
  <div>
    <h1>嵌套路由</h1>
    <router-link to="/zhuYe">主页</router-link>&nbsp;
    <router-link to="/xinWen">新闻</router-link>&nbsp;
    <router-link to="/tiYu">体育</router-link>&nbsp;
    <!-- <router-link to="/tiYu/mainSport">体育的主页</router-link>
    <router-link to="/tiYu/outSport">国外的体育</router-link>
    <router-link to="/tiYu/inSport">国内的主页</router-link> -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  data(){
    return {}
  }
}
</script>

<style scoped>

</style>
